package com.woniuxy.service.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;

@Data
@ApiModel("评价统计返回的评价数据和评价列表信息")
public class CommentStaticDto {
    @ApiModelProperty("总评价数量")
    private Integer totalComment;
    @ApiModelProperty("好评数量")
    private Integer goodComment;
    @ApiModelProperty("差评数量")
    private Integer poorComment;
    @ApiModelProperty("中评数量")
    private Integer midComment;
    @ApiModelProperty("好评率")
    private String goodCommentPercent;
    @ApiModelProperty("查询出的评价列表")
    private Page<CommentStoreDto> commentStoreDtos;
}
